package grape.house.rest.estatenearbyfeature.form;
import grape.common.rest.form.BaseForm;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
/**
 * <p>
 * 楼盘周边特色表
 * </p>
 *
 * @author yangwei
 * @since 2020-09-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="楼盘周边特色添加表单对象")
public class EstateNearbyFeatureCreateForm extends BaseForm {

    private static final long serialVersionUID = 1L;

    @NotEmpty(message="名称不能为空")
    @ApiModelProperty(value = "名称",required = true)
    private String name;

    @NotEmpty(message="楼盘不能为空")
    @ApiModelProperty(value = "楼盘id",required = true)
    private String estateId;

    @NotEmpty(message="建设情况不能为空")
    @ApiModelProperty(value = "建设情况，字典",required = true)
    private String buildStatusDictId;

    @ApiModelProperty(value = "图片地址")
    private String imageUrl;

    @NotEmpty(message="详细描述不能为空")
    @ApiModelProperty(value = "详细描述，如：步行距离等",required = true)
    private String description;

    @NotNull(message="排序不能为空")
    @ApiModelProperty(value = "排序",required = true)
    private Integer seq;



}
